package com.ys.service.storage;

import com.ys.entity.storage.TccAssembleError;
import com.ys.vo.R;
import java.util.Map;

/**
 * 组装报错单
 */
public interface TccAssembleErrorService {

	/**
	 * 新增组装报错单
	 * @param assembleItemId 组装单子件明细表id（TCC_AssembleItem）
     * @param subAssembleLostNum 子件缺失数量
	 */
	TccAssembleError add(Long assembleItemId,int subAssembleLostNum) throws Exception ;

	//报错处理
	R errorHandle(Map<String, Object> params) throws Exception ;

	//预入库
	R preStorage(Map<String, Object> params) throws Exception ;


	//根据id获取数据详情
	Map<String,Object> getDeatil(Long id) throws Exception;


	//设置查询sql
	TccAssembleError setSeachSqlByCommon(TccAssembleError cond) throws Exception;


}